package JAVA;

public class work3101 {
    public static void main(String[] args) {
        int []array={3,2,5,6,8,4,1,9,7};
        for (int i=0;i< array.length;i++){
            if (array[i]/2==0){
                System.out.println("是偶数"+array[i]);
            }
        }
        for (int i=0;i< array.length;i++){
            if (array[i]/2!=0){
                System.out.println("是奇数"+array[i]);
            }
        }
    }
}
